package com.party.web.web.dto.input.wechatPlatform;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 微信消息推送实体
 * Created by wei.li
 *
 * @date 2017/8/26 0026
 * @time 14:31
 */
public class ReceiveMsgInput {

    //接收方帐号
    @XStreamAlias("ToUserName")
    private String toUserName;

    //开发者微信号
    @XStreamAlias("FromUserName")
    private String fromUserName;

    //消息创建时间
    @XStreamAlias("CreateTime")
    private String createTime;

    //类型
    @XStreamAlias("MsgType")
    private String msgType;

    //文本消息内容
    @XStreamAlias("Content")
    private String content;

    //消息id
    @XStreamAlias("MsgId")
    private String msgId;

    //事件类型，VIEW
    @XStreamAlias("Event")
    private String event;

    //事件KEY值，设置的跳转URL
    @XStreamAlias("EventKey")
    private String eventKey;

    //二维码的ticket，可用来换取二维码图片
    @XStreamAlias("Ticket")
    private String ticket;

    //地理位置纬度
    @XStreamAlias("Latitude")
    private String latitude;

    //地理位置经度
    @XStreamAlias("Longitude")
    private String longitude;

    //地理位置精度
    @XStreamAlias("Precision")
    private String precision;

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public String getEventKey() {
        return eventKey;
    }

    public void setEventKey(String eventKey) {
        this.eventKey = eventKey;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getPrecision() {
        return precision;
    }

    public void setPrecision(String precision) {
        this.precision = precision;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }
}
